06 / 07

What does the <br> tag do?

Purpose of the <br> Tag in HTML

The <br> tag in HTML is used to insert a line break. It is an empty (void) element, meaning it doesn’t have a closing tag. When used, it forces the text after it to appear on a new line without starting a new paragraph.

Example Using <br>
Key Points
  1. 1

    <br> is a void element (no closing tag).

  2. 2

    It creates a single line break within text content.

  3. 3

    Unlike <p>, it does not create extra spacing above and below.

  4. 4

    Useful for addresses, poems, or formatting text where line breaks matter.

Example with Address